package cn.util;

/**
 * 
 * @项目名称:pigbaby
 * @类名称:Constant
 * @类描述:共同属性类
 * @创建人:陈凯
 * @创建时间:20150714 10：53 星期二
 * @修改人:
 * @修改时间:
 * 
 * @修改备注:
 * @version
 */
public class Constant {

	// 分页每页显示的数量
	public static int PAGE_SIZE = 6;
	public static String SESSION_NAME = "sessionuser";
	public static String Y = "Y";
	public static String N = "N";
	public static String OK = "ok";
	public static String NO = "no";
	// 传入参数
	public static String INPUTPARAMETER = "传入参数：";
	// 错误信息
	public static String ERRORINFO = "错误信息：";

	/**
	 * 返回值
	 */
	// 正常
	public final static String C0 = "c0";
	/**
	 * 连接数据库失败
	 */
	public final static String C1001 = "c1001";
	/**
	 * 用户名或密码错误
	 */
	public final static String C1002 = "c1002";
	/**
	 * 参数错误
	 */
	public final static String C1003 = "c1003";
	/**
	 * token失效
	 */
	public final static String C1004 = "c1004";
	/**
	 * 用户名或密码被修改
	 */
	public final static String C1005 = "c1005";
	/**
	 * 权限变更
	 */
	public final static String C1006 = "c1006";
	/**
	 * 异地登录了
	 */
	public final static String C1007 = "c1007";
	/**
	 * 此耳标不存在
	 */
	public final static String C1008 = "c1008";
	/**
	 * 该用户无权限，请联系管理员分配权限！
	 */
	public final static String C1009 = "c1009";
	/**
	 * 当前状态不会返情
	 */
	public final static String C1010 = "c1010";
	/**
	 * 猪只前后状态有误，请确认
	 */
	public final static String C1011 = "c1011";
	/**
	 * 猪只状态不相符
	 */
	public final static String C1012 = "c1012";
	/**
	 * 期初日期不正确
	 */
	public final static String C1013 = "c1013";
	/**
	 * 期末日期不正确
	 */
	public final static String C1014 = "c1014";
	/**
	 * 库存数量小于计划数量
	 */
	public final static String C1015 = "c1015";
	/**
	 * 服务器被切换，请重新登录
	 */
	public final static String C1016 = "c1016";
	/**
	 * 母猪档案卡中未记录猪只信息
	 */
	public final static String C1017 = "c1017";
	/**
	 * 猪只已断奶，不能生产耳缺
	 */
	public final static String C1018 = "c1018";
	/**
	 * 猪只库存不足
	 */
	public final static String C1019 = "c1019";
	/**
	 * 存库没有
	 */
	public final static String C1020 = "c1020";
	/**
	 * 请先断奶再转出
	 */
	public final static String C1021 = "c1021";
	/**
	 * 猪仔物料种别不存在
	 */
	public final static String C1022 = "c1022";
	/**
	 * 仔猪类别不存在
	 */
	public final static String C1023 = "c1023";
	/**
	 * 仔猪类别不存在
	 */
	public final static String C1024 = "c1024";
	/**
	 * 此耳标号重复
	 */
	public final static String C1025 = "c1025";
	/**
	 * 猪只转出转入阶段不相符！
	 */
	public final static String C1026 = "c1026";
	/**
	 * 新耳标号不可与原耳标号一致
	 */
	public final static String C1027 = "c1027";
	/**
	 * 母猪档案卡中【首配】公猪耳标未入力
	 */
	public final static String C1028 = "c1028";
	/**
	 * 母猪档案卡中【二配】公猪耳标未入力
	 */
	public final static String C1029 = "c1029";
	/**
	 * 母猪档案卡中【三配】公猪耳标未入力
	 */
	public final static String C1030 = "c1030";
	/**
	 * 原始密码输入错误，请重新输入
	 */
	public final static String C1031 = "c1031";
	/**
	 * 起始日期与结束日期的间隔天数应在十五天以内
	 * *
	 */
	public final static String C1032 = "c1032";
	/**
	 * 手动执行防疫计划失败
	 * *
	 */
	public final static String C1033 = "c1033";
	/**
	 * 该猪场没有需要执行防疫计划的猪只
	 * *
	 */
	public final static String C1034 = "c1034";
	/**
	 * 结束日期跟当前日期的间隔天数应在十五天以内
	 * *
	 */
	public final static String C1035 = "c1035";
	/**
	 * 上午 AM
	 */
	public final static String TIME_AM = "AM";
	/**
	 * 下午
	 */
	public final static String TIME_PM = "PM";
	/**
	 * 全天AP
	 */
	public final static String TIME_AP = "";

	/**
	 * 字符串0
	 */
	public final static String ZERO_STRING = "0";
	/**
	 * 字符串1
	 */
	public final static String ONE_STRING = "1";
	/**
	 * 字符串2
	 */
	public final static String TWO_STRING = "2";
	/**
	 * 字符串3
	 */
	public final static String THREE_STRING = "3";
	/**
	 * 空白
	 */
	public final static String EMPTY = "";
	/**
	 * 斜线
	 */
	public final static String SLASH = "/";
	/**
	 * json返回结果
	 */
	public final static String RESULTJSON = "resultjson";
	/**
	 * 计划对象类别-column/ear
	 */
	// column
	public final static String OBJECTCAT_COLUMN = "column";
	// ear
	public final static String OBJECTCAT_EAR = "ear";

	/**
	 * 更能类型 ZFQKH ZFQKH
	 */
	// 发情确认
	public final static String ZFQQR = "ZFQQR";
	// 反情空怀
	public final static String ZFQKH = "ZFQKH";
	// 治疗
	public final static String ZBZL = "ZBZL";
	// 采购
	public final static String ZCG = "ZCG";
	// 采精
	public final static String ZCJ = "ZCJ";
	// 出库
	public final static String ZCK = "ZCK";
	// 查情
	public final static String ZCQ = "ZCQ";
	// 初始库存
	public final static String ZCSKC = "ZCSKC";
	// 断奶
	public final static String ZDN = "ZDN";
	// 分娩
	public final static String ZFM = "ZFM";
	// 发情
	public final static String ZFQ = "ZFQ";
	// 防疫
	public final static String ZFY = "ZFY";
	// 疾病记录
	public final static String ZJBJL = "ZJBJL";
	// 抗体检测
	public final static String ZKTJC = "ZKTJC";
	// 领料
	public final static String ZLL = "ZLL";
	// 盘亏
	public final static String ZPK = "ZPK";
	// 盘盈
	public final static String ZPY = "ZPY";
	// 配种
	public final static String ZPZ = "ZPZ";
	// 入库
	public final static String ZRK = "ZRK";
	// 妊娠诊断
	public final static String ZRSZD = "ZRSZD";
	/**
	 * 二次孕检
	 */
	public static final String ZECYJ = "ZECYJ";
	// 妊娠复检
	public final static String ZRSFJ = "ZRSFJ";
	// 死淘
	public final static String ZST = "ZST";
	// 饲喂
	public final static String ZSW = "ZSW";
	// 退料
	public final static String ZTL = "ZTL";
	// 消毒
	public final static String ZXD = "ZXD";
	// 销售
	public final static String ZXS = "ZXS";
	// 诱情
	public final static String ZYQ = "ZYQ";
	// 引种
	public final static String ZYZ = "ZYZ";
	// 转栏
	public final static String ZZL = "ZZL";
	// 转栏出
	public final static String ZZLC = "ZZLC";
	// 转栏入
	public final static String ZZLR = "ZZLR";
	// 断奶空怀
	public final static String ZDNKH = "ZDNKH";
	// 空怀
	public final static String ZKH = "ZKH";
	// 流产空怀
	public final static String ZLCKH = "ZLCKH";
	// 哺乳
	public final static String ZPR = "ZPR";
	// 妊娠
	public final static String ZRS = "ZRS";
	// 妊娠空怀
	public final static String ZRSKH = "ZRSKH";
	// 首配
	public final static String ZSP = "ZSP";
	// 二配
	public final static String ZEP = "ZEP";
	// 三配
	public final static String ZSANP = "ZSANP";
	// 四配
	public final static String ZSIP = "ZSIP";
	// 一次发情
	public final static String ZYCFQ = "ZYCFQ";
	// 初始
	public final static String ZINT = "ZINT";

	// 妊娠前期
	public final static String ZRSQQ = "ZRSQQ";
	// 妊娠中期
	public final static String ZRSZQ = "ZRSZQ";
	// 其他待配
	public final static String ZQTDP = "ZQTDP";
	// 其他待配
	public final static String ZCFDC = "ZCFDC";

	/**
	 * 猪只阶段
	 */
	// 保育猪
	public final static String ZBYZ = "ZBYZ";
	// 仔猪
	public final static String ZCFZZ = "ZCFZZ";
	// 种公猪
	public final static String ZGZ = "ZGZ";
	// 后备公猪
	public final static String ZHBGZ = "ZHBGZ";
	// 后备母猪
	public final static String ZHBMZ = "ZHBMZ";
	// 经产母猪
	public final static String ZJCMZ = "ZJCMZ";
	// 育肥猪
	public final static String ZYFZ = "ZYFZ";

	/**
	 * 栋舍属性
	 */
	// 隔离舍
	public final static String GLS = "GLS";
	// 保育舍
	public final static String ZBYS = "ZBYS";
	// 产房
	public final static String ZCHF = "ZCHF";
	// 物资仓库
	public final static String ZCKS = "ZCK";
	// 公猪舍
	public final static String ZGZS = "ZGZS";
	// 后备舍
	public final static String ZHBS = "ZHBS";
	// 配怀舍
	public final static String ZPHS = "ZPHS";
	// 育肥舍
	public final static String ZYFS = "ZYFS";

	/**
	 * 物料基本单位
	 */
	// 头
	public final static int TOU_11 = 11;

	/**
	 * 统计项目：产仔窝数
	 */
	public final static String CZWS = "CZWS";
	/**
	 * 统计项目：总产仔数
	 */
	public final static String ZCZS = "ZCZS";
	/**
	 * 统计项目：健仔数
	 */
	public final static String JZS = "JZS";
	/**
	 * 统计项目：弱仔数
	 */
	public final static String RZS = "RZS";
	/**
	 * 统计项目：死胎
	 */
	public final static String ST = "ST";
	/**
	 * 统计项目：木乃伊
	 */
	public final static String MNYS = "MNYS";
	/**
	 * 统计项目：仔猪死亡数
	 */
	public final static String SWS = "SWS";
	/**
	 * 统计项目：仔猪出生均重
	 */
	public final static String CSJZ = "CSJZ";
	/**
	 * 统计项目：仔猪转出均重
	 */
	public final static String ZCJZ = "ZCJZ";
	/**
	 * 统计项目：仔猪转出日龄
	 */
	public final static String ZCRL = "ZCRL";
	/**
	 * 统计项目：CSNL
	 */
	public final static String CSNL = "CSNL";
	/**
	 * 转出母猪
	 */
	public final static String ZCMZ = "ZCMZ";
	/**
	 * 转入母猪
	 */
	public final static String ZRMZ = "ZRMZ";
	/**
	 * 转出仔猪
	 */
	public final static String ZCZFZZ = "ZCZFZZ";
	/**
	 * 死淘母猪
	 */
	public final static String ZSTMZ = "ZSTMZ";
	/**
	 * 出库
	 */
	public final static String D = "D";
	/**
	 * 入库
	 */
	public final static String C = "C";
	/**
	 * 库存变化
	 */
	public final static String KCBH = "KCBH";
	/**
	 * 采精计划
	 */
	public final static String CJPLAN = "CJ";
	/**
	 * 采精间隔
	 */
	public final static String ZB111 = "ZB111";
	/**
	 * 一元次
	 */
	public final static String YYC = "一元次";
	/**
	 * 二元次
	 */
	public final static String EYC = "二元次";
	/**
	 * 三元次
	 */
	public final static String SANYC = "三元次";
	/**
	 * 四元次
	 */
	public final static String SIYC = "四元次";
	/**
	 * 品种：二元猪
	 */
	public final static String EY = "EY";
	/**
	 * 品种：三元猪
	 */
	public final static String SY = "SY";
	/**
	 * 品种：四元猪
	 */
	public final static String SIY = "SIY";

	/**
	 * 猪类别：仔猪
	 */
	public final static String ZAIZHU = "仔猪";
	/**
	 * 猪类别：肥猪
	 */
	public final static String FEIZHU = "肥猪";
	/**
	 * 猪类别：淘汰猪
	 */
	public final static String TAOTAIZHU = "淘汰猪";
	/**
	 * 猪类别：种猪
	 */
	public final static String ZHONGZHU = "种猪";
	/**
	 * 产房转保育
	 */
	public final static String CHANFANGZHUANBAOYU = "产房转保育";

	/**
	 * 保育转育肥
	 */
	public final static String BAOYUZHUANYUFEI = "保育转育肥";
	
	/**
	 * 请求头信息
	 */
	public final static String HEAD = "head";
	
	/**
	 * 请求体信息
	 */
	public final static String BODY = "body";

}
